    <div class="titlewords" >个人好友<span><%= link_to "更多", :action => :more_friends, :controller => "/profile", :username => @user.username%></span></div>
	<div class="photo_box">
		<% @friends = @user.friends%>
			<% if @friends.length>0%>
				<ul>
						<% @friends.each do |f| -%>
						<li>
							<%= link_to(image_tag(f.avatar.url, :class => "headphoto"),profile_for(f)) %>
							<h5><%= f.username%></h5>
						</li>
					<% end -%>
				</ul>
			<% else %>
		还没有好友
		<% end %>	
	</div>